#! /bin/sh

basedir="`dirname $0`"

LD_LIBRARY_PATH="$basedir"/sw/lib:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH
PATH="$basedir"/sw/bin:$PATH; export PATH
PYTHONPATH="$basedir":"$basedir"/sw/lib/python:$PYTHONPATH; export PYTHONPATH

exec python "$basedir"/main.py "$@"
